package com.GameSpace.SameGame;

import com.GameSpace.CoreAssets.*;


import android.app.ListActivity;
import android.content.Intent;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;

import com.GameSpace.SameGame.R;

public class GameAds extends ListActivity {
	String  []game_names;
	String  []game_desc;
	Drawable   []game_icon;
	
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.games);
        ImageView home= (ImageView)findViewById(R.id.home_button);
        home.setOnClickListener(new View.OnClickListener() { 
        	public void onClick(View view) { 
	        		Intent intent=new Intent(GameAds.this,GameSpace.class);
	            	startActivity(intent);
            	
            } 
        });
        game_names= new String[10];
        game_desc= new String[10];
        game_icon= new Drawable[10];
        setListAdapter(new CategoryAdapter(this));
        
       // setListAdapter(mBooksAdapter);
        }
    
}